fixed imagebutton animation bug