Ensure grammar graphs display correctly