That was enough to reproduce it. I managed to get it to happen by spamming right click while holding spacebar in the shop. The root cause was improper handling of surface deletion (i.e. the info window) when it happened in the same frame the surface was created. I've uploaded a fix.