VDI reports the limits in pixels, but user provides the size in bytes. Make sure both values are in pixels before doing comparisons. Change-Id: I082c7175c9fa4383e0b0ee38ff8c047c26ff20b4