I have one idea.
Bot could remember boxes and their positions, If he won´t collect them.
For example:
Bot is going to collect event box and near him is bonusbox.
When he collects event box, bonusbox isnt on map (he cant see him).
So when he could remember boxes, he could fly to him (bonusbox) and collect.
I hope you will understand me