Move flickering logic from FlxObject to FlxSpriteUtil