tree tool & fix issue with copying tile entities