Fixed main window spacing issue