Fixed #3057.