improve the isRunning method to check if the animation has been rendered at least once