Fixing bug in KeyboardManager.enable/disable.