Backport: 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

(cherry picked from commit ec31f82eda92bf94e96072d9dc4ad07b5eeed772)