Fix voxelAtPosition and chunkAtPosition to use new API

I'm not sure that this is the cleanest implementation, but this commit updates a few function calls to use the new array position syntax rather than the object one.