[#3388] Fix thanks to @dorians