bugfix: pause on minimized failed