BZ1170538: Fix in viewframework