Fix Quirks Mode issue

Wrong thread error in Quirks Mode