Recalculate projmatrix on resize