rotated mesh texture bug fix