fix: Rotate the canvas on its center in a flipped setting