That could be why then.This may be the problem, Elm calls do not advance the RNG that determines PID. NPCs also do not affect it, so you don't need to worry about staying inside.
I always use frame 1 seeds for PID abuse, just because it's easier and pretty much impossible to advance the frame by accident.
I'll try with a seed that starts on frame 1.