Do not crash with null cursorDisplayProvider, for people not providing
custom cursors