fix wrong update of worldToScreen matrix when the viewport is resized