Fix stacking of sprites.