fixed wrong order of operations in enter event

(in s_targetAction)