Fixed various bugs dealing with sliding.

This fixes #191, and finally fixes #2. The bounding box was being repositioned into a tile, and then a horizontal collision was happening which forces you out of the tile horizontally in the opposite direction and caused the camera jitter. What a sneaky bug!