Fixed a bug in the JS snippet used to test wmode on Linux that was preventing custom cursors from ever being used.