Removed reset when focus is lost