only drawing grid once