Your layers are all screwed up.
You have raw geometry on layers other than layer0 and you have a a different layer as the active layer.
Layer0 should be the active layer 99.9% of the time.
All raw geometry should be on layer0 and only groups and components placed on other layers.