title: Hide Cursor script doesn't work correctly in Unity 5
body: <p>I've a simple hide cursor script attached in the "FirstPersonCharacter" GameObject and doesn't work correctly.</p>
  
  <pre><code>#pragma strict
  
  var blocked = false;
  
  function Start () {
      blockCursor (false);
  }
  
  function blockCursor (blocked) {
      this.blocked = blocked;
      Screen.lockCursor = blocked;
      Cursor.visible = !blocked;
  }
  
  function Update () {
      if (Input.GetKeyDown("e")) {
          blockCursor(!blocked);
      }
  }
  </code></pre>
  
  <p>This script works perfectly in Unity 4.6, but now in Unity 5 when I press "E" the cursor moves to the center and doesn't hide.
  <strong>What I'm doing bad? :(</strong></p>