Ensure width/height/DPI are sent as integers. Properly adjust display scale for reported pixel size.