conflict ?

Instead of goto, use while loops.

You probably have another problem as well. From draw_raw, you call loop. And when I found that, I gave up trying to follow the code.

Don't call loop(), ever.

I will try to find time to explain a little later.