Fixed issue with grid() box sizing check