Fix modification issue on hidden palettes and lost fields.