Set nextFrameID on goTo()

Fixes an issue where `nextFrameID` is not set correctly when `goTo()` is called directly.
Merge pull request #213 from martinAnsty/master

Set nextFrameID on goTo()