fix timing issue on scalefade animation