Changed GridLayout to GridBagLayout to fix resizing issues