now lines are not drawn over the cursor