Ensured new canvas is placed in parent DOM element