Fix for FF postMessage issue.