`client.display.width` and `client.display.height` are being deprecated. This code produces warnings when deployed to a service