This shouldn't be necessary. This happens in the view's constructor. If it's not happening there is an underlying error.