Fix #5052