Fixed a potential issue with custom block rendering crashing the server on startup.