On page Events there is an issue with "ContentBlocks_AfterParse" expected return value. Page says "What to return: A modified HTML string, or nothing if no changes needed". It seems that changed template must be set using $modx->event->output() method and plugin should return always null.