fixes bugs in tools animations