Fixed #3054.