Fix pan (position and behaviour after teleport)