Quick fix to handle failed analyses and still draw the layout.