Add whitespace if the cursor is on a border