Code now accounts for differing box sizes in camera and scenery.