GUIViewControl: send gui messages to proper window, fixes #14291
Merge pull request #2692 from pieh/t14291

GUIViewControl: send gui messages to proper window, fixes #14291