Detect collisions only if no event is in background
Add example for background_events