Fixes to LayerRenderer and Level apis