[osx] Don't clear to black from a thread that doesn't own the context