Fixed double matrix pop which was causing issues when rendering images