Workaround for Android Studio UI Preview bug

See https://code.google.com/p/android/issues/detail?id=60167