Fixed issue about task menu animation