The window didn't prevent the radar, it just created a much larger signature. Decoys, basically. The spotlights were radar operated, and when they latched on it was certain death for any bomber. By giving them more to "lock on" to, it gave the bomber more chance to survive.
Something like that.