I dragged a 4h from a tableau pile ending in ... 4h 3s and dropped it onto a foundation pile that had 3h at the top. This resulted in the 4h being duplicated and the 3s disappearing:

To the best of my knowledge (from playing Solitaire back in Windows 3.1) you should not be able to remove a card from inside a pile.
This was the situation before the bug manifested:
