Merge "Revert "Fix texture sampling in fragment shader."" into main