Wrong screen coordinates

Hi, i am making a game, but myy program draws too many cactuses on my screen, but i dont know why.
here’s the code.

@sand, thank you for joining the forum.

Can you please try pasting your code again? It seems that it didn’t go through.

sorry its just that if you show something on the screen at certain coordinates (like 280,20), the object shows up even though the x coordinate is 280 and the screen is only 84 pixel wide. I solved the problem, it was just a bit annoying.
Its probably a problem with the gamebuino library but thanks for the help.

Sand.