tile: fix bug where fls(0) was not returning 0