Fixed #2884.