(minor UI fixes)

Fixed positioning problems when resizing the form.