gui: workaround for dead objects when displaying fps overlay

After closing the acquisition window, turning on debug mode will trigger fps overlay apparently also on the dead canvas from the acquistion window

This is only workaround, and the actual fix should make sure the whole object is gone.