Fix rendering on index with bad view context bug