Fixed crash when animating without path