Fixed #4479 (GUI tests fail)