When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black. (cherry picked from commit 5bd62a1b3c)
5bd62a1b3c