Microstrip Patch antenna has improved impedance matching but no improvement on gain
A guess: Your simulation calculates the gain as radiation power per steradian divided by the radiation power per steradian caused by ideal omnidirectional antenna with same input power.
You may output more watts to the sky in case 2  but that doesn't affect the ratio. You should compare watts per steradian -patterns when the transmitter at the feeding end stays same.