Although we don't have the use case now,
the problem would be: what would happen if the frame you are looking for is under the top most frame?