The "bounds" format is correct way to specify width and height. Directly specifying them is deprecated. Could you change back to the "bounds" format?