Fixes #2267 and restores layout of production line tabs with multiple resources.