Added position to ResizeCanvas()