Fix Cursor Issue When Using True Color

This fixes an issue where, when using true color, the changeCursor
function would not actually write the cursor to the target array.

Fixes #407
Merge remote-tracking branch 'upstream/master'