I agree that stacking can cause these kind of issues. I encountered a very similar-sounding problem a while ago, that I described in this post.
Update: I can see from @Brent_Easton’s explanation below that I must have been working around the same bug, without exposing the root cause with sufficient clarity at that time.