Fixed custom FG/BG mode