Cache last positions to get rid of jittering

Bug: Player slides from platforms
Bug: Player stacks on sides of platforms
Bug: Two objects in air won't fall down