Revert "Fix restore dpi groups"

This reverts commit 49d3fc1d836c27f1ac6bec790686d4e6faf17cd6.