Electromagnetic secondaries in the detection of high energy muons