Fix cursor on palette.