Fixed #3125.