OnTargetLost transition and a bugfix for the state that lead into a infinite loop