Refine matchMedia support check