worked around some strange behavior of TestFX where it clicked outside the window