Fixed a swimming bug but work

on tiles spawning after the world is created is needed