Fixed snapshot func in ControlPanel