fixed projection matrix for regions within the view frustum

Required e.g. for fragment filters, which now work fine for 2D and 3D objects alike.