Implement a different workaround for when SDL_SetRelativeMouseMode() doesn't work.

This fixes the "stuttering mouse" reported in issue #38.