... I'd probably have written the latter as "mi leg" ...]
In Early Modern English the standard pronunciation of my was /mǝɪ/ but also /mɪ/ when unstressed.* That hasn't changed in 400 years, and is what's being represented here. Different writers use me or mi to represent it.
* Source: David Crystal: The Oxford Dictionary of Original Shakespearean Pronunciation