title: Selenium 2: moveByOffset() and consecutive release() - strange positioning
body: <p>I'm using Selenium 2 with FirefoxDriver. The task is to move an element for a few pixels. I code the task this way:</p>
  
  <pre><code>val action = (new Actions(driver)).clickAndHold(el).moveByOffset(3,1).release().perform()
  </code></pre>
  
  <p>mouseDown(), mouseMove() and mouseUp() events are logged. So I receive the following output:</p>
  
  <pre><code>mouseDown at 267 133
  mouseMove at 270 134
  mouseMove at 267 133
  mouseUp at 267 133
  </code></pre>
  
  <p>It looks like that Selenium calls mouseDown on the item, then moves it to the specified position, then <strong>moves it back</strong> and then calls mouseUp. That's pretty strange.</p>
  
  <p>It turns out that the reason is in release() call, since when I call this:</p>
  
  <pre><code>val action = (new Actions(driver)).clickAndHold(el).moveByOffset(3,1).perform()
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>mouseDown at 267 133
  mouseMove at 270 134
  </code></pre>
  
  <p>How to make Selenium to call mouseUp at the right position?</p>