Sprite.js: Adding back support for color rectangles

Using getImageData will fail. It must be the newly created CanvasElement matching the dimensions passed in to the constructor.

(I'm sure I've changed this particular problem at least twice before.)