Looks like a pretty good head rub, I'd say you're correct in assuming the injury occurred when she forced the lid up and wedged herself through the opening. It should heal on its own but she may have issues shedding in that area until it's healed fully.
Those weights should only be a temporary solution, you need a lid with a locking mechanism.