resize: properly handle state reset on primary screen
When drawing on the primary screen The internal state of the cursor
location was not being updated. This resulted in an invalid state and a
messed up screen
Fixes: https://github.com/rockorager/libvaxis/issues/63