fixed resizing of gui elements