Fix pointer grid init bug