render: texture: Fix bug in texture region coordinate calculation.