Minor fixes on drawOperation without textures