Had this problem too. For my specific case I was trying to mask a layer which had an ‘animation composer’ marker in tag. I found that if I selected the layer with a timestamp before the marker tag i had the masking problem. But if I select a timestamp after the marker tag then the problem went away. No idea if it was the marker itself or that it was using slider settings up until that marker tag.
If you don’t have animation composer operating on that layer you are having trouble with, I would just double check you select the layer at a time stamp without any sliders/markers in effect
Ro