[[ Bugfix 11191 ]] Text corruption

MCParagraph::join() was causing memory corruption by allocating a buffer too small for the text.