Fix an issue with AppTheme