Move flickering logic from FlxObject to FlxSpriteUtil, closes #530