Fixed some of the cursor issues.