Now works if the target element is inside another element with overflow(-x|-y):auto|scroll; applied.