[osx] fixed, non-accelerated renderer fallback was not working. Need to check created context and not created pixel format (cherry picked from commit b9990a4a)