[#30260] Fix for Undefined index: custom_position