Thanks to all for your comments.
Just a side note, a pancake box only has 8 cubic inch capacity. A single 14-2 cable needs 6 cubic inches just for the conductors. The added area of the canopy only counts when marked with the cubic inch capacity.
Very true…