Fixed the error when switching to progress window. Some issues with multiple scraps.
Will fix at a later date.

Signed-off-by: Archimedyz <awais1994@hotmail.com>