Improve PixelTexture caching and faster setPixel method