Textfield and canvas

I have a textfield in a rectangle, on the same page a canvas. When I hit return in the textfield all the images dissapear from my canvas, and about 15 seconds later the canvas redraws again, I have no timers with 15 second intervals, anyone any idea whats going on?

Is the textfield and rectangle overlapping the canvas? If so, that’s the cause and is almost guaranteed to cause flicker and refresh issues.

Out of interest I tried the same thing and a button, with the “a” key on keydown on the text field and the button printing “hi” in the textfield, key down was firing the button event, its ok without the rectangle… very strange

Is that invisible button the default button?