improved collision code so it hits thick platforms.