yes it happens sometimes.
first time i though i was hallucinating...
sounds just like if the hDC (device context) of the PureBasic IDE is corrupted by the application behind in some conditions (gif or flash animation).
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer