Fixed warning "CoreAnimation: warning, deleted thread with uncommitted CATransaction"