Fixed cursor when root removed