Check switch status before collision detection