Work around toolkit issue #177 (possible state:enter bug).