Fix view inheritance