300-4-d basically tells me to maintain that 1 1/4" from a framing member's edge. Well this gets fairly hard to do when interior walls are 2"x4", or really 1 1/2" x 3 1/2" , particularly in the area of wire entry into the switch box, which , volume needed is usually the deeper variety.

Any quick fixes out there?