Fixed handling resources with no boxes