Created and bound callback for renderer-window resize.