Fixed #3056.