fix missing cursor on first load