fixed map grid rendering to only render visible grid chunks