changed canvas_test.js to stop the boxes dragging outside the image