Arima, its happending in preview... and yes it messes with logic - lol, I didn't submit my game into the construct2 competition because the logic wasn't working, turns out that the changes weren't being reflected correctly, so what I thought was a random bug that broke the game, was actually the cache not being refreshed with new updates/changes.
Its actually weird, it doesn't do it all the time - hence it took me awhile to catch on. Agree that preview a second time (used to fix) because last night those red boxes remained even on 2nd/3rd/9th time in IE. I changed browser to chrome and firefox and boxes were gone. I then changed back to IE and it they were still there.
The boxes disappeared after a couple minutes... think cache was flushed by time passed/software/c2 but it showed changes.
Anyways, this has happened a number of times, I originally thought it was my logic, the way I tried to do things, but it definitely isn't reflecting changes, well not immediately at least. (this is on rare occasions only, not every time)
Took me awhile to catch on because I don't build a game in one project. I build it in modules multiple projects then add them all together at the end.
Edit: I see you point after reading your bug report in more detail. I think this is something else, but it is also the same, or at least a blend between both bug reports.
Bug at its core: Changes don't reflect in preview, the fact that I added a variable and it didn't show. Deleted a sprite and it remained, says it is cache issue. Perhaps ashley has more insight.
Problem is it doesn't happen all the time, it can't be reproduced - which won't help ashley. I am just going to have to cycle browsers for preview to get latest changes.