Fixed node clipping + added a test for it