Added screen dpi trunkation (for better scaling)