texture paint does not work

I can not figure out why I can’t texture paint in Default window layout but can in UV editing layout.
Here is the blend file:

moon.blend (805 KB)

Actually some painting does happen but not in the place where I do it.

I’ve no idea what your particular problem is, works perfectly fine, I can draw on all the sphere.

Your system might be too slow though, I haven’t figured out why, but the painting is extremely laggy. My machine is rather powerful and it’s impossible to make a curved stroke, the painting lags behind so much, it’ll end up with a poly line remotely close the shape of a pencil stroke.