Put the canvas inside a div to get the correct position