Fixed for proper sizing of GUI elements.