Fixes grid style.