I've been an idiot, sorry. I noticed that I did the drawings in OnTimer instead of OnRender. It works now just fine! Thanks for making sure that it shouldn't be random ;)