do not set the location when there is no space
getChunkAt may return null so use isChunkLoaded