level editor. collision fixes