quick and dirty implementation of cursors on canvas