Fix App.idleTime crash.