Fixes position for test window

Attempt to fix #3235