FlxGamepad: add some null checks for flash