modified collision detection on example mouse platform