Fixes #621. The cursor in margin check was incorrect causing upwards movement of the cursor when below the bottom margin to be incorrect.
Fixes #621. The cursor in margin check was incorrect causing upwards movement of the cursor when below the bottom margin to be incorrect.