Check for collision layers when adding objects in the editor