This prevents issues with overflow in the top, and should be correct based on the rounding used in the SetBounds function.