Fixed #5

We need to release the cursor before closing a GameWindow, otherwise
subsequent GameWindows may fail to receive mouse events.