Fix gui layout