Fix cursor bug

Suggested fix by Raynos for the issue reported here: https://github.com/evancz/elm-todomvc/issues/4