fixed Select mode switching broken in version 0.5