tile: check for arithmetic underflow in tile setup

Fixes a fuzzing crash in crash-5f55445c56a36f28259bc742dd08b2c5ba42045d.
7 jobs for master in 1 minute and 54 seconds (queued for 1 second)