More bugs solved, now users can wrap tiles

Bugs can still be found, e.g. when moving a bigger tile around, space
cannot be allocated.