Remove added frame on unload.
Merge pull request #929 from Gozala/hotfix/unload-frame

Bug 859860 - Remove added frame on unload. r=@ochameau