PART LAYER ISSUE IN DETAILS

     Some times our layers change their color when we generate a detail of a section usually. This is not a problem that happens every time, but it's annoying and it looks wrong when you see it. I've tried everything I know, but now I need help to try to solve this, I know that maybe this is a bug, but just maybe I did something wrong.

SolidworksDrawings And Detailing