Properly position field with respect to moving cursor.