Revert "Fix DEVICE_RESOLUTION"

This reverts commit d908a10ff8002e5cf8aef445ada37b2e9e9f9ac4.