BZ-9036: set viewport size