Implement world wraparound in chunk renderer

Entities will be rendered incorrectly, since they are not offset as part
of the world rendering process yet.