Mouse intersection detection