Fix offset calculation math

Also removed fixed the invalidation issues to
remove the translationX/Y path

BUG: 21413554
Change-Id: I4fb5a23d189779476f4f694e902415a1455da62b
1 file changed