bug fix, in play mode window doesn’t listen events