fix thread panel animation bug