chroma: Fix bug in resizing of the background image

Change-Id: I63bf5393a24d72ff12dee3705ba74ef683d8157f