Prevent ball from going too vertically.