Fix medium toolbar breaking after first use.