Fixed cursor issue.