Clear command input when its focus is lost