Bava Kama 60-1: Was there a Mashchis doing Makas Bechoros?

How can the Gemarah mention a Mashchis if we say the HKBH himself did the plague?