Fix for CustomBlocks not rendering and CustomBlocks generating a NPE onI...

...temPlace.

Signed-off-by: Mike Howe <dockter@almuramc.com>