Can I repair that?
Repair what? Your description seems a bit unclear, maybe posting a few screenshots can help clarify the issue.
Are you talking about Quick Mask Mode?
To create a mask you need very little:
The layer where the mask will be applied needs to be active.
If that does not work, I have no idea.