Take pixel density into account