Possibly fixed gate GUI crash