fixed bounds updating for nested containers with relative sizes