temporarily add bezier through mode config to test whether it breaks stuff in addition to fixing  #5087