Make display.cursor.visible and window.cursor.visible work