Tree groups animation and resize bug