Moved the canvas to the top
Implemented image drawing code for the newer svg sourcing