fixing deadzone and editor bug where type wasn't getting set for new entities