Fixed animation render bug.