Positioning the canvas properly