Prevent UIs from being shown twice (fixes ardour double window)