`BaseX` and `BaseZ` already contain the block coords, there's no need to multiply them by cChunkDef::Width; that's what's causing the chunk borders to show.