DC2B-141: Fix bug on animation panel. Animation control panel wont disappear when a non-last actived layer be removed.