Fix usage of rect.top/left which broke in iOS8

see: http://stackoverflow.com/questions/25834399/getboundingclientrect-not-returning-sizing-info-ios8