This change updates the cursor position according to the orientation of the output.
Still outstanding is a rotation of the cursor image itself.
. Fixes: https://bugs.launchpad.net/bugs/1203215.
Approved by Alan Griffiths, Daniel van Vugt, PS Jenkins bot, Robert Carr.