issue 351 - use clientHeight instead of innerHeight to not consider the horizontal scrollbar during element selection