Fix wrong call since recent refactoring

(modes and panels do not have any test suite atm, I have to check everything work
manually)