Prevent calling onBroadcast called twice with SimpleBroadcaster

Backported from master and commit 210f1a905f30c42af42b54e63bcb60bcbfa61d66.
Merge pull request #1149 from slovdahl/atmosphere-1.0.x

Prevent calling onBroadcast called twice with SimpleBroadcaster