Fix fixed grid container calculation