Frame.Template can be null

ActionButtonDetailItemController.cs doesn't check for Frame.Template == null