Made events in the (web) canvas more precise.