This fixes an issue where the frame's owner/receiver are not reset if a type test on a typealias fails.