Added collisions with trees