fix bug where the high byte of X and Y positions were destroyed of
the user had lifted the pen