drawImage now uses a separate canvas element to render color images so we don't have to reset it when switching between color and grayscale images
storedPixelDataToCanvasImage now skips the alpha channel for color images to improve rendering performance