Fixed freezing bug

Drawing is about as fast as it is ever going to be. This bug only
matters on Mac so occasional freezing isn't a big deal.
If the problem persists then the only option is to start using a java
game library like LWJGL.