Updated controls to constrain movement.