Used MouseDown event instead of Click event as selection event for squares