disabled mouse control in key mode
ensured mouse control in mouse mode