Revert "Allow custom density setting"

This reverts commit 21ee0108050bbdc8f7689c48d2c0601383b1facc.