Fix doctype quirks mode enabling