Fix an ArrayIndexOutOfBoundsException when opening the
AnimationWidgetProperties dialog when there are no animation times.