Fix strange behavior when changing stop focus while editing stop name