Fixes an issue with Chrome

In Chrome, if you enter text and then move the cursor to the front of an input and continue typing, the cursor will automatically move to the end of the input after entering the first character.

For example:
If I type `test` into the input, and then attempt to rectify the text by typing `some test`. The cursor for the input will move as soon as I type `s`, resulting in `stestome `

This makes the input almost unusable for editing when using Chrome
Merge pull request #25 from hobnob/master

Fixed an issue where the cursor would be moved to the end of the input after every keyup, making it difficult to add/edit existing input. Particularly evident in Chrome.