use bounding client rect for offset detection