Fix the layout on the ducoment form