bugfixes in scene renderer