solve bugs of button menu animation
render buttons according to mouse states