fix canvas mouse positions