Fixed form layout to avoid creating pages that are a few pixels too long due to borders.