Embedded form not displaying properly