Fixed animation pause/resume for objects.