cursor visibility problem