fix some frame spacing and resizing issues