Support animations with duration of zero