canvas mouse position lock in implemented