Fix view rendering