improved mouse control in manual mode