Keep original bitmap's dimensions during processing.

Fixes: 324390147
Test: repro steps in the bug

Change-Id: I1a44225fd8ad251ad9c2bd55f31fec6217624a1c
1 file changed