Fix positioning issues with form elements