fixed the issue with the cursor hanging at the midpoint in full window view