Fixed gesture handling for screens that have multiple frames.