add support for detecting clicked on overlays