Chunk rendering #3

Further bug fixes