Fixed #3076.