Why not attach the powerheads to the overflow (if you have one). I do that on my tank for a couple of Jebaos - the overflow runs along the top back of the tank and is only 1/4" thick. The external magnets are waterproof.
It's a peninsula style tank so I don't think it has the type of overflow that you are talking about.