Fixed small grid bug