cursor only when active