Fix frame switching after frame redirect/creation
Merge pull request #1177 from mrmr1993/fix-frame-switching

Conflicts:
	background_scripts/main.coffee