Changes WidgetBuilder to use Gdx.graphics.getDensity().