No matter where you place a light, if it's behind the muzzle, you will get shadow. This is just something you need to deal with and shouldn't drive where you place the light. The main thing to consider is where are the controls (primary and tertiary) and can you clear a barricade with it? The Access to the controls should be deliberate. Do not ride the clicky cap or place the pressure pad where you naturally grip the gun (like on a vertical grip or directly under your thumb or fingers). Just like clicking off a safety or pressing a trigger, activating lights and lasers should be 100% deliberate.
Placement of controls should not require a change in grip, but should require you to move your thumb. I like to place my light above the bore. This keeps it above barricades. Essentially, if my muzzle clears the barricade, the light and laser will too. Below is a pic of my primary rifle electronics
As a right handed shooter, I will primarily access the controls for my light and laser with my left hand. My thumb naturally rides in between the light laser. To fire the laser, I move my thumb to the left and press the buttons on the device. To fire the light, I retract my thumb and press forward to click the tail cap.
Both the light and laser are mounted above the bore, so I easily clear barricades.
I also run a TAPS dual switch at the 12 behind these devices. This is an important redundancy. I have never ever ever ever ever ever switched shoulders in a gunfight. I do not agree with doing so unless the primary arm is damaged. BUT, I will switch shoulders if I need to post on a right side barricade while the team is doing whatever for 30 seconds. At that point, I will want to offer as small a target to the opposition as possible. But, fighting off my left shoulder should not impede my ability to operate anything on my gun. I have an ambi safety, so I should have ambi controls for light and laser. The TAPS switch is how I achieve this.