[fix] check active window before delegating player action handling