Fix projective texture mapping issue ##2471/#3759/#1774