Make sure we don't error out if we can't get parent frameElement