Revert "Allow custom density setting"

This reverts commit 703e602b680e0454bd2147f07d6f95cae40991a4.