Fix ThemeLoader on Mac