fix for hdpi devices