Fix the support for dpx (equivalent to Android's dp).