Re-fixed a bug which was causing the cursor to be drawn even after the mouse left the surface panel to the top or left. (#41)