Small code cleanup.
Fixes sprite rotation.