Fix postMessage handling. Closes BRBSUPPORT-1729.
Merge branch 'hotfix/2.11.5'