Fix for rendering empty views