Fixed #3114.