Added ability to disable level rendering in debug