Fixed dpi warning [Fixes #1964]