Remove wrong check in TestGui.

When the window is not wide enough some actions are hidden.