Fixed severe bug in creating objects without overlays.