If you ran it to the A switch it would have to be on for the B switch to work, you need to run the new light fixture to the B switch and from the B switch splice into the wires that give the A switch power, not the A switch itself otherwise the B switch wont work unless the A switch is on.