Move device pixel scaling to the backend where it belongs