Fix pie menu appearing in selection mode