Fix GUI to make it resizable.