Detect and add fallback if document colors are disabled in Firefox