Better attempt at removing animint plot upon input change