Fix sandbox loading event