Fixes #19: Memory leak on dots animation.