Fixed canvas.center

Fixed problem where the canvas center wasn't returning the proper
values when the canvas has been rotated.