Fix Switch To Modern Mode

This is a minor fall-out from the big switch to the LegacyUI.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>