Mouse detection now in a better place.