Fix backslashed commands like \sin()

There was a call to renderCommand that failed to pass the cursor.
Merge pull request #287 from jwmerrill/fix.backslash-command

Fix backslashed commands like \sin()