fixed issue in which resizing a page containing a nested viewer will throw off cursor