Minor gui bugfix