fixes planet position and avoids jumping of planets