Bug 1067207 - Compute imgFrame padding in unscaled coordinates. r=tn

--HG--
extra : rebase_source : 371d3bb445f136370664b7b0240a18ddec5909c9