Fixed #3078.