Fix browser-eval not entering context on first run, or exiting context correctly.