using draw priority for finding objects under cursor