Added support to change pixel desity