Fixed cross-browser grid layout issues