preserve PDF location even if window is closed prior to render