Better boundary collision check.