Update fixing bug that affected window minimisation.