Moved dynamic pixel width/height to canvas.js.