correctly compute frame for nested subview