added tileCache update to advance frame so tiles get created for obstacles