Fix buttons' animation