fixed screen instance sharing variables problems by putting this. to canvas and ctx