Fixed bug: self is undefined in system/js/keyboard_manager.js