Fixed #3069.