Corrected gallery margin