Cursor Bug

I resolved a minor bug with the cursor relating to clipping within the
bordered area.