fix ios flicker bug with linear transition #410