Repaired a bug in the abstract mouse handler class