fixed problem accessing grid on texture memory