added get mouse location, fixed get canvas image