Fixed a bug involving minimized clients