Fixed cursor update