Fix #5298