Adjust cursor position when user starts editing field