       document["pointerLockElement"] is blocker or
       document["mozPointerLockElement"] is blocker or
       document["webkitPointerLockElement"] is blocker
-    @setState
-      pointerLocked: pointerLocked
-    @props.sendState(@state)
+
+    if @locked != pointerLocked
+      @locked = pointerLocked
+      @setState(pointerLocked: pointerLocked)
+      @props.sendState(pointerLocked)
 
   componentDidMount: ->
     havePointerLock =

{div, span} = React.DOM

Blocker = React.createClass
  getInitialState: ->
    havePointerLock: false
    pointerLocked: false

        span {}, title
        span {}, message

module.exports = (props) -> React.createElement(Blocker, props)