fix tooltip position based on previous parent resize