Included null check for frames without toolbars