Login dialog hack to allow cursor to reappear