SDL: Workaround a macOS cursor-related bug. (ef54e)

[Couldn't obtain the patch due to network issues; please check the above link instead.]