Fixes the problem that inserting, removing or fading didn't start animation on Mac.