Bug fix: correct the calculation for texture coords