improving #37: changed ModeLayer setMode to the new forceMode to ensure correct initial mode layer