FlxSprite optimizations from @sergey-miryanov