Keep viewports in a vector to preserve their order
Drop RenderStack depth check
Fix entity cache

Cache Mesh and aggregated Material instances.
Always create an instance of Entity.