fixed texture glitching