Minor tweaks to how position adjustment on collision works.
Added support for one way line segment collisions, but it doesn't work. Need to debug.