Fixed #3081.