There is no bug. You simply need to understand how layer styles, blending modes and switches like collapse transformations/ continuously rasterize interact with one another and affect rendering order.
What exact version number of After Effects are you using (down to the last decimal point)?
Adobe After Effects CC 2014.0 Release Version 18.104.22.168.
I had the same problem on older versions too.
Let me make sure I understand what is happening.
You turn a layer's visibility off, but it stays visible in the comp in direct defiance of your command?
If so, that really sounds like a cache issue. How have you tried clearing the cache? Have you rebooted your computer?
I have restart After Effects and my Computer. I have delete all memory- and diskcache, few times.
I make e.g. a textlayer. I shift the text on the right time, but on one frame is the layer visible, although at this point is no longer this layer.
It's al little bit strange...
This is the last Frame, of the 1. layer: http://i.imgur.com/E3Tt1fm.png
This is the next Frame, other textlayers begins: http://i.imgur.com/XV5z4hU.png
When I shift the 2. layer out of this buggy frame or make this layer invisible: http://i.imgur.com/IG6h4Ba.png
Only the 2. layer: http://i.imgur.com/Mwcg5ps.png
The 2. layer with video: http://i.imgur.com/HPgW2jW.png
Only the video: http://i.imgur.com/i67Alps.png
I don't now...