Fixed timer breaking when stopped.