Fix GUI tests.