FIxed bug in graphics that would cause a crash on windows.

Solution is poor since it is making so sprites don't rotate. But it's
better than crhases.