Corrected grid margins