Fix windmode "<select> is undefined"