I've run into this as well. I used to be able to solve this by refreshing the frame as well, but it no longer works. Now, I have to manually refresh the frame every time.
I tried using a different browser, but got the same results. Deleting and reinstalling the script didn't help either. Maybe...