Modify Element to make isVisibleWithinBoundsOfWindow decoupled from isElementVisible

Signed-off-by: dpulitano <danielpulitano@gmail.com>