Fixed #3104.