Sorry, that video is taken when running OpenGL. I was just trying to explain what I was doing so someone might have a workaround.
I have actually created a workaround. Create the image using SetRenderToImage(). Then save the image and use LoadImage() before SetImageMask(). As I said, I do it all during loading time, so it's not a problem. But it wouldn't be a solution if you needed to do some small image manipulations between frames.
The issue I now have is with SetShadowMappingMode(). When using the Vulkan renderer, my skybox isn't getting rendered when shadows are on.