This fixes a bug where rounding could cause a layer to enter overscroll even
if CAN_OVERFLOW is false, and then get stuck in overscroll.