Fixed setColorDepth