add viewport property to renderer