canvas-animation: Move EditorView's centerPath method to Path's center method.