Fixed #3080.