Fixed incorrect condition where LayoutableSprite.YAcceleration was accidentally recursive