fixes for FlxKeyboard to work on Haxe 2