Proactive driving for safe boxing