Are you consistently getting the same wrong results? If so, try re-calibrating using those results. It might be a problem with your Timer0 value, which can fluctuate sometimes (mostly dependent on whether or not you're pressing a button). Also, if you can, try to use a seed on frame 1, because then you don't have to worry about miscounting your steps or anything.