PlatformLinux: Fix cursor visibility

Fixes #1104