Disable modifications on theme switch