lua: fix cherry-picking mishap in 1fc9ccfe9ef796bf1709bdd7fd7cbda0faa296dc
Correct abs function should be used (clang -Wabsolute-value)
(cherry picked from commit 06316e693325523207cebb6dfd346a4a6113b5a2)

Conflicts:
	src/views/view.c