Fixed bug with iPad overlay rendering improperly

Overlay rendered with viewport height and width (correct), but was always attached to the top of the document -- not to the top of the viewport.