little improvment on windows for an animation