Fixed #3086.