fix hdpi-bug (handling hdpi twice)