Added collisions with tiles