attempt to fix hiding of message windows