All kinds of trouble just because I forgot to set the cursor position.