Fix timer:get_remaining_time() always returning 0. Fix #503.
Merge branch 'v1.2'