Fixed bugs with frames and perspective skewed sprites.