Fix crash bug when toggling fullscreen-mode with fancy cursors. Do no longer destroy the global null_cursor, when destroying the current window.