negative grid margin bugfix