Backported the "fix" from d91d179766 as stl_translate_relative