Disable design mode when clearing UI