Merge pull request #8730 from JosJuice/frame-advance-duplicate-frame Core: Skip duplicate frames when using frame advance