Fix mouse/keyboard specs by allowing nil values through to mouseMoveTo.

This reverts a change made in revision fc395f1.