Fixed chunk index to be the same as chunks stored position and added a nullcheck if chunk exists in collision