Form displaying differently in preview and edit mode