Freezing the cursor line's position