Fixed #2783.