fixed SAT collision detection bug