Fixes #413
Also adds new "cursor" inputable to get all cursor positions.