Fix issue with rendering views.