Use display density. Fixes #5