Reverting cursor alignment