Made movement on the "edges of the world" smooth