using render resolution in retrieving viewportchanged
adding ViewportInitialized event.