Fixed collision detection above & below.