Apply bounds to handle rubber banding