Account for fractional pixels when performing percentage transformations.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>