Fix DPI issue on Qt + Blackberry.